﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace EasySL.UI.Controls
{
    public partial class Diagrams : UserControl
    {
        public Diagrams()
        {
            InitializeComponent();
        }
    }

    public class City
    {
        public string Name { get; set; }

        public int Population { get; set; }

        public double Rainfall { get; set; }

        public City()
        {
        }

        public override string ToString()
        {
            return Name;
        }

        public static List<City> PugetSound
        {
            get
            {
                List<City> pugetSound = new List<City>();
                pugetSound.Add(new City { Name = "Bellevue", Population = 102344, Rainfall = 4.1 });
                pugetSound.Add(new City { Name = "Issaquah", Population = 11212, Rainfall = 4.3 });
                pugetSound.Add(new City { Name = "Redmond", Population = 46391, Rainfall = 5.7 });
                pugetSound.Add(new City { Name = "Seattle", Population = 192800, Rainfall = 6.3 });
                pugetSound.Add(new City { Name = "BeiJing", Population = 32800, Rainfall = 3.4 });
                return pugetSound;
            }
        }
    }
}
